<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>分析身体质量</title>
</head>
<body>
    <center>
        <!--启动服务器后,http://localhost:8080/bmi.html-->
        <h3>分析身体质量</h3>
            <form action="/bmi">
                <table border="1">
                    <tr>
                        <td>身高(m)</td>
                        <td><input name="height" type="text"></td>
                    </tr>
                    <tr>
                        <td>体重(kg)</td>
                        <td><input name="weight" type="text"></td>
                    </tr>
                    <tr>
                        <td colspan="2" align="center">
                            <input type="submit" value="提交">
                        </td>
                    </tr>
                </table>
            </form>
    </center>
</body>
</html>